<#import "/common/taglibs/spring.ftl" as spring/>
<#macro treePermission resourceIdentity>
{
<@security.authorize access="hasAuthority('${resourceIdentity!}:create')">
    create: true,
</@security.authorize>
<@security.authorize access="hasAuthority('${resourceIdentity!}:update')">
    update: true,
</@security.authorize>
<@security.authorize access="hasAuthority('${resourceIdentity!}:delete')">
    remove: true,
</@security.authorize>
<@security.authorize access="hasAuthority('${resourceIdentity!}:update')">
    move: true,
</@security.authorize>
    end: true
}
</#macro>